package yyh.jaccard.bean;

import java.util.List;

public class HerbMed_Info_Statistics_Bean {
	private String transformed_gvalue;
	private String zhenci_count;
	private String max;
	private String min;
	private String mean;
	private String stddev;
	private String median;
	private List<HerbMed_Info_For_Mode_Bean> mode;
	
	
	
	public String getTransformed_gvalue() {
		return transformed_gvalue;
	}
	public void setTransformed_gvalue(String transformed_gvalue) {
		this.transformed_gvalue = transformed_gvalue;
	}
	public String getZhenci_count() {
		return zhenci_count;
	}
	public void setZhenci_count(String zhenci_count) {
		this.zhenci_count = zhenci_count;
	}
	public String getMax() {
		return max;
	}
	public void setMax(String max) {
		this.max = max;
	}
	public String getMin() {
		return min;
	}
	public void setMin(String min) {
		this.min = min;
	}
	public String getMean() {
		return mean;
	}
	public void setMean(String mean) {
		this.mean = mean;
	}
	public String getStddev() {
		return stddev;
	}
	public void setStddev(String stddev) {
		this.stddev = stddev;
	}
	public String getMedian() {
		return median;
	}
	public void setMedian(String median) {
		this.median = median;
	}
	public List<HerbMed_Info_For_Mode_Bean> getMode() {
		return mode;
	}
	public void setMode(List<HerbMed_Info_For_Mode_Bean> mode) {
		this.mode = mode;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((max == null) ? 0 : max.hashCode());
		result = prime * result + ((mean == null) ? 0 : mean.hashCode());
		result = prime * result + ((median == null) ? 0 : median.hashCode());
		result = prime * result + ((min == null) ? 0 : min.hashCode());
		result = prime * result + ((mode == null) ? 0 : mode.hashCode());
		result = prime * result + ((stddev == null) ? 0 : stddev.hashCode());
		result = prime
				* result
				+ ((transformed_gvalue == null) ? 0 : transformed_gvalue
						.hashCode());
		result = prime * result
				+ ((zhenci_count == null) ? 0 : zhenci_count.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		HerbMed_Info_Statistics_Bean other = (HerbMed_Info_Statistics_Bean) obj;
		if (max == null) {
			if (other.max != null)
				return false;
		} else if (!max.equals(other.max))
			return false;
		if (mean == null) {
			if (other.mean != null)
				return false;
		} else if (!mean.equals(other.mean))
			return false;
		if (median == null) {
			if (other.median != null)
				return false;
		} else if (!median.equals(other.median))
			return false;
		if (min == null) {
			if (other.min != null)
				return false;
		} else if (!min.equals(other.min))
			return false;
		if (mode == null) {
			if (other.mode != null)
				return false;
		} else if (!mode.equals(other.mode))
			return false;
		if (stddev == null) {
			if (other.stddev != null)
				return false;
		} else if (!stddev.equals(other.stddev))
			return false;
		if (transformed_gvalue == null) {
			if (other.transformed_gvalue != null)
				return false;
		} else if (!transformed_gvalue.equals(other.transformed_gvalue))
			return false;
		if (zhenci_count == null) {
			if (other.zhenci_count != null)
				return false;
		} else if (!zhenci_count.equals(other.zhenci_count))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "HerbMed_Info_Statistics_Bean [transformed_gvalue="
				+ transformed_gvalue + ", zhenci_count=" + zhenci_count
				+ ", max=" + max + ", min=" + min + ", mean=" + mean
				+ ", stddev=" + stddev + ", median=" + median + ", mode="
				+ mode + "]";
	}
	
	

}
